package com.tx.studentManager.qo;

import java.util.Date;

import com.tx.studentManager.common.QOAttr;
import com.tx.studentManager.common.QOAttrType;

/**
 * 
 * 【用户User查询条件】
 * 
 * @since showlove 1.0.0
 * @version 1.0
 * @date 2015年8月22日 22:05:34
 * @author 此生唯晴
 */
public class UserQO extends BaseQo {

	private static final long serialVersionUID = 1L;
	@QOAttr(name = "userId", type = QOAttrType.EQ)
	private Integer userId;

	private Integer roleId;

	@QOAttr(name = "sex", type = QOAttrType.EQ)
	private String sex;

	@QOAttr(name = "age", type = QOAttrType.GE)
	private Integer ageStart;

	@QOAttr(name = "age", type = QOAttrType.LE)
	private Integer ageEnd;

	@QOAttr(name = "userName", type = QOAttrType.LIKE_ANY)
	private String userName;

	@QOAttr(name = "nickName", type = QOAttrType.LIKE_ANY)
	private String nickName;

	@QOAttr(name = "phone", type = QOAttrType.LIKE_ANY)
	private String phone;

	@QOAttr(name = "createDate", type = QOAttrType.GE)
	private Date createDateStart;

	@QOAttr(name = "createDate", type = QOAttrType.LE)
	private Date createDateEnd;

	@QOAttr(name = "activated", type = QOAttrType.EQ)
	private Integer activated;

	public Integer getUserId() {
		return userId;
	}

	public Integer getActivated() {
		return activated;
	}

	public void setActivated(Integer activated) {
		this.activated = activated;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Date getCreateDateStart() {
		return createDateStart;
	}

	public void setCreateDateStart(Date createDateStart) {
		this.createDateStart = createDateStart;
	}

	public Date getCreateDateEnd() {
		return createDateEnd;
	}

	public void setCreateDateEnd(Date createDateEnd) {
		this.createDateEnd = createDateEnd;
	}

	public Integer getAgeEnd() {
		return ageEnd;
	}

	public void setAgeEnd(Integer ageEnd) {
		this.ageEnd = ageEnd;
	}

	public Integer getAgeStart() {
		return ageStart;
	}

	public void setAgeStart(Integer ageStart) {
		this.ageStart = ageStart;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

}
